/* Fonts */
@font-face {
    font-family: Nahid;
    src: url(../font/Nahid.woff);
    font-weight: normal;
}

@font-face {
    font-family: Sahel;
    src: url('../font/Sahel/Sahel.eot');
    src: url('../font/Sahel/Sahel.eot?#iefix') format('embedded-opentype'),
        url('../font/Sahel/Sahel.woff2') format('woff2'),
        url('../font/Sahel/Sahel.woff') format('woff'),
        url('../font/Sahel/Sahel.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: Sahel;
    src: url('..\font\Sahel\Sahel-Bold.eot');
    src: url('..\font\Sahel\Sahel-Bold.eot?#iefix') format('embedded-opentype'),
        url('..\font\Sahel\Sahel-Bold.woff2') format('woff2'),
        url('..\font\Sahel\Sahel-Bold.woff') format('woff'),
        url('..\font\Sahel\Sahel-Bold.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: Sahel;
    src: url('../font/Sahel/Sahel-Light.eot');
    src: url('../font/Sahel/Sahel-Light.eot?#iefix') format('embedded-opentype'),
        url('../font/Sahel/Sahel-Light.woff2') format('woff2'),
        url('../font/Sahel/Sahel-Light.woff') format('woff'),
        url('../font/Sahel/Sahel-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: Sahel;
    src: url('..\font/Sahel/Sahel-SemiBold.eot');
    src: url('..\font/Sahel/Sahel-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('..\font/Sahel/Sahel-SemiBold.woff2') format('woff2'),
        url('..\font/Sahel/Sahel-SemiBold.woff') format('woff'),
        url('..\font/Sahel/Sahel-SemiBold.ttf') format('truetype');
    font-weight: 600;
}



:root {
    --main: #222132;
    --primary: #B8B8B0;
    --secondary: deepskyblue;
}

html {
    box-sizing: border-box;
    font-family: Sahel !important;

}

*,
*:after,
*:before {
    box-sizing: inherit;
}

body {
    background-color: var(--main);
    direction: rtl;
    font-size: 18px;
}
a {
  text-decoration: none !important;
  color:white !important;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.box {
    width: 100%;
    width: 100%;
    max-width: 25em;
    min-height: 25em;
    padding: 2em 1em;
}

.box p {
    font-size: 1.4em;
    font-family: 'Sahel';
    margin: 0 0 2.5em;
    padding: 0;
    color: var(--primary);
}

.form-wrap {
    width: 100%;
}

.input-box {
    position: relative;
    margin: 0 auto 3em;
}

.form-wrap .input-box:last-child {
    margin: -1em 0 0;
}

.input-box .input {
    position: relative;
    display: block;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    direction: ltr;
    height: 3em;
    width: 100%;
    line-height: 3;
    background-color: transparent;
    color: #fff;
    padding: 0 1em;
    border-radius: .2em;
    border: 2px solid transparent;
    outline: none;
    transition: border-color 500ms ease;
    z-index: 1;
}

.input-box label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-size: 14px;
    font-family: 'Sahel', Sahel, sans-serif;
    font-weight: 400;
    width: 100%;
    height: 100%;
    padding: 0 1em;
    line-height: 3;
    border-radius: .2em;
    transform: translateY(0);
    transition: transform 500ms ease, color 500ms ease, background-color 500ms ease, border-radius 500ms ease;
}

.input-box input::-webkit-input-placeholder {
    /* WebKit browsers */
    color: transparent;
}

.input-box input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: transparent;
}

.input-box input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: transparent;
}

.input-box input:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: transparent;
}

.input-box .input:placeholder-shown {
    border-color: var(--primary);
}

.input-box .input:placeholder-shown~label {
    background: transparent;
    color: var(--primary);
}

.input-box .input:focus {
    border-color: rgb(250, 148, 146);
    border-radius: 0 0 .2em .2em;
}

.input-box .input:focus~label {
    color: #222132;
    background-color: rgb(250, 148, 146);
    border-radius: .2em .2em 0 0;
    transform: translateY(-99%);
}

.input-box .input:valid {
    border-color: #AFFDC5;
    border-radius: 0 0 .2em .2em;
}

.input-box .input:valid~label {
    color: #222132;
    background-color: #AFFDC5;
    transform: translateY(-99%);
    border-radius: .2em .2em 0 0;
}

.input-box .btn-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: 'Sahel', sans-serif;
    font-size: 14px;
    text-align: center;
    padding: .7em 1.4em;
    margin-bottom: 1em;
    background: wheat;
    color: 222132;
    outline: none;
    border: none;
    border-radius: .2em;
    cursor: pointer;
}

.input-box .btn-submit:active,
.input-box .btn-submit:focus {
    border: 2px solid var(--secondary);
}

.input-box .btn-submit:hover {

    background-color: #AFFDC5;
}

.notifi p {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-family: 'Sahel', sans-serif;
    font-weight: 400;
    color: var(--primary);
}

.notifi p a {
    color: var(--secondary);
    text-decoration: none;
}

.notifi p a:hover {
    text-decoration: underline;
}

/* The alert message box */
.alert {
    padding: 20px;
    background-color: #f44336;
    /* Red */
    color: white;
    margin-bottom: 15px;
}

/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}